<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%-- 
    JSP Name : da_100_12K.jsp
    Description : H-Volunteer 이벤트 등록
    author Seung Won
    since 2012. 8. 13.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 8. 13.     Seung Won     최초 생성
--%>

<%@ include file="/WEB-INF/jsp/co/us/include/declare.jspf" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>현대자동차 CSR &#124; H- Volunteer Designer 이벤트</title>
<%@ include file="/WEB-INF/jsp/co/us/include/header.jspf" %>
<script type="text/javaScript" language="javascript">
<!--
$(document).ready(function() {
    /* form validation check */
    onloadCharCheck();
    
    $("#rgstButn").bind("click", moveRgstPage);    // 등록    
    $("#cnclButn").bind("click", formIniz);         /* Form 초기화 */
    
    $("input[name='amt']").keypress(function(event){
        if (event.which && (event.which > 47 && event.which < 58 || event.which == 8)) {
        } else {
            event.preventDefault();
         }
    }); 
    
    $("input[name='amt']").blur(function(){
        
        var totAmt = 0;
        for (var i=0; i<$("input[name='amt']").length;i++) {
            totAmt = totAmt + Number($("input[name='amt']").eq(i).val().replace(/\,/g, ""));
        }
        
        $("#totAmt").val(moneyType(totAmt));
     });
});

/*
 * 통화 표시
 */
function moneyType(argVal){
    
    var reg = /(^[+-]?\d+)(\d{3})/;
    argVal += '';
    while (reg.test(argVal))
        argVal = argVal.replace(reg, '$1' + ',' + '$2');

    return argVal;

}

/*
 * 등록, 수정 페이지 이동
 */
function moveRgstPage() {
    var arrChk = "0";
    var arrChkSzVal = "";
    var arrChkQtyVal = "";
    

    if (!validateForm($("#mainForm"))) {
        return;
    }
    
    var arrChk = "0";
    var arrChkVal = "";
    
    $("#aplcEml").val($("#aplcEml1").val()+"@"+$("#aplcEml2").val());
    $("#instCcpc").val($("#instCcpc1").val()+"-"+$("#instCcpc2").val()+"-"+$("#instCcpc3").val());

    if($("#pttSmry").val().length > 200) {
        alert("200자 이내로 작성하여주세요");
        $("#pttSmry").focus();
        return;
    }

    if($("#pttPart").val().length > 200) {
        alert("200자 이내로 작성하여주세요");
        $("#pttPart").focus();
        return;
    }
    
    for (var i = 0; i < $("input[id='arrSz']").length; i++){
        if ($("input[id='arrSz']").eq(i).is(":checked") == true ) {
            
            if ($("input[id='arrQty']").eq(i).val() == "" ) {
                alert($("input[id='arrQty']").eq(i).attr('title')+" 수량을 입력해 주세요");
                $("input[id='arrQty']").eq(i).focus();
                return;
            }
            
            arrChkSzVal = arrChkSzVal + $("input[id='arrSz']").eq(i).val() + ",";
            arrChkQtyVal = arrChkQtyVal + $("input[id='arrQty']").eq(i).val() + ",";
            arrChk = "1";
        }
    }
    
    if (arrChkSzVal != "") {
        arrChkSzVal = arrChkSzVal.substring(0, arrChkSzVal.length-1);
    }
    
    if (arrChkQtyVal != "") {
        arrChkQtyVal = arrChkQtyVal.substring(0, arrChkQtyVal.length-1);
    }
    
    $("#pcrpUnifSz").val(arrChkSzVal);
    $("#pcrpUnifQty").val(arrChkQtyVal);
    
    $("#mainForm").attr('target','comIframe');
    <c:if test="${result.parp03Idx == null || result.parp03Idx == ''}">
    $("#mainForm").attr('action','/da_100_13.do').submit();
    </c:if>
    <c:if test="${result.parp03Idx != null && result.parp03Idx != ''}">
    $("#mainForm").attr('action','/da_100_15.do').submit();
    </c:if>
}

/*
 * Form 초기화
 */
function formIniz() {
    document.mainForm.reset();
}

//-->
</script>
</head>
<body class="whiteBg">
<div class="popWrap">
    <div class="popCon">
        <p class="popTit"><img src="/img/usr/pop/pop_tit_h_volunteer_1.gif" alt="H-Volunteer Designer 활동 신청" /></p>
        <form id="mainForm" name="mainForm" method="post">
            <input type="hidden" id="currentPageNo" name="currentPageNo" value="${rqInfo.currentPageNo}" />
            <input type="hidden" id="parp03Idx" name="parp03Idx" value="${result.parp03Idx }" />
            <input type="hidden" id="evntIdx" name="evntIdx" value="${rqInfo.idx }" />
            <input type="hidden" id="mlgScnCd" name="mlgScnCd" value="KO" />
        <table border="1" summary="H-Volunteer Designer 활동 신청의 팀이름,신청형태,신청자이름,팀원정보(부서/이름),소속, 핸드폰 이메일을 입력 또는 수정하는 표">
            <col width="16%" />
            <col width="34%" />
            <col width="16%" />
            <col width="34%" />
            <tbody>
                <tr>
                    <td class="subThead" colspan="2">신청자 정보</td>
                    <td class="subThead">신청형태</td>
                    <td>
                        <span class="radioArea">
                            <label for="individual"><input type="radio" class="member" id="pttShap1" name="pttShap" value="1" <c:if test="${result.pttShap == null || result.pttShap == '1'}">checked</c:if> />개인</label>
                            <label for="team"><input type="radio" class="member" id="pttShap1" name="pttShap" value="2" <c:if test="${result.pttShap == '2'}">checked</c:if> />팀</label>
                        </span>
                    </td>
                </tr>
                <tr class="team lock">
                    <td class="subThead">팀 이름</td>
                    <td colspan="3"><input type="text" title="팀 이름" id="teamNm" name="teamNm" value="${result.teamNm }" maxlength="30" readonly="readonly" /><span class="desc">* 함께 활동하는 팀원이 있다면 팀 이름을 적어주세요</span></td>
                 </tr>
                <tr>
                    <td class="subThead">신청자 이름</td> 
                    <td><input type="text" title="신청자 이름 " id="aplcNm" name="aplcNm" value="${result.aplcNm }" maxlength="10" nullable="true" /></td>
                    <td class="subThead">소속</td>
                    <td><input type="text" title="소속" id="blns" name="blns" value="${result.blns }" maxlength="30" nullable="true" /></td>
                </tr>
                
                <tr class="team lock">
                    <td class="subThead">팀원 수</td>
                    <td colspan="3">임직원 <input type="text" class="person" id="tmmrQty" name="tmmrQty" value="${result.tmmrQty }" maxlength="3" readonly="readonly" chartype="int" readonly="readonly" title="임직원 입력" /> 명 <span class="side">외부인원 <input type="text" class="person" id="oordQty" name="oordQty" value="${result.oordQty }" maxlength="3" readonly="readonly" chartype="int" title="외부인원 입력" /> 명</span></td>
                </tr>
                <tr>
                    <th>핸드폰</th>
                    <td colspan="3">
                        <select name="aplcHp1">
                                <option value="010" <c:if test="${result.aplcHp1 == '010' }">selected</c:if> >010</option>
                                <option value="011" <c:if test="${result.aplcHp1 == '011' }">selected</c:if> >011</option>
                                <option value="016" <c:if test="${result.aplcHp1 == '016' }">selected</c:if> >016</option>
                                <option value="017" <c:if test="${result.aplcHp1 == '017' }">selected</c:if> >017</option>
                                <option value="019" <c:if test="${result.aplcHp1 == '019' }">selected</c:if> >019</option>
                            </select> - <input type="text" class="phone" title="앞자리" id="aplcHp2" name="aplcHp2" value="${result.aplcHp2 }" maxlength="4" nullable="true" chartype="onlynum" /> - 
                            <input type="text" class="phone" title="뒤 4자리" id="aplcHp3" name="aplcHp3" value="${result.aplcHp3 }" maxlength="4" nullable="true" chartype="onlynum"  />
                    </td>
                </tr>
                <tr>
                    <th>이메일</th>
                    <td colspan="3"><input type="text" id="aplcEml1" name="aplcEml1" value="${arrAplcEml[0] }" maxlength="14" nullable="true" title="이메일" style="ime-mode:inactive" />
                     &#64; <input type="text" id="aplcEml2" name="aplcEml2" value="${arrAplcEml[1] }" maxlength="14" nullable="true" title="이메일" style="ime-mode:inactive" />
                     <input type="hidden" id="aplcEml" name="aplcEml" value="${result.aplcEml }" />  
                   </td>
                </tr>
                <tr>
                    <th>비밀번호</th>
                    <td colspan="3"><input type="password" title="비밀번호" value="" id="pw" name="pw" maxlength="14" nullable="true" chartype="password" /><span class="desc">영문대/소문자+숫자 조합으로 10~12자로 입력해주세요. 게시물 수정시 필요합니다.</span></td>
                </tr>
            </tbody>
        </table>
        <p class="popTit"><img src="/img/usr/pop/pop_tit_h_volunteer_2.gif" alt="봉사활동 관련내용" /></p>
        <table border="1" summary="신청단체의 단체명,단체장,전화번호,휴대전화등 입력 또는 수정하는 표">
            <col width="8%" />
            <col width="8%" />
            <col width="84%" />
            <tbody>
                <tr>
                    <td class="subThead" colspan="2">활동명</td>
                    <td colspan="3"><input type="text" class="big" title="활동명" id="gactNm" name="gactNm" value="${result.gactNm }" maxlength="30" nullable="true" /><span class="desc">* 활동의 특성을 잘 살린 활동명을 지어 적어주세요.</span></td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">활동시기</td>
                    <td colspan="3">
                        <select id="gactEraStrtY" name="gactEraStrtY">
                            <c:forEach var="list" items="${yearList }">
                            <option value="${list }" <c:if test="${result.gactEraStrtY == list }">selected</c:if> >${list }년</option>
                            </c:forEach>
                        </select>
                        <select id="gactEraStrtM" name="gactEraStrtM">
                            <c:forEach var="list" items="${monList }">
                            <option value="${list }" <c:if test="${result.gactEraStrtM == list }">selected</c:if> >${list }월</option>
                            </c:forEach>
                        </select>
                        <select id="gactEraStrtD" name="gactEraStrtD">
                            <c:forEach var="list" items="${dayList }">
                            <option value="${list }" <c:if test="${result.gactEraStrtD == list }">selected</c:if> >${list }일</option>
                            </c:forEach>
                        </select>&nbsp;&#126;
                        <select id="gactEraFnhY" name="gactEraFnhY">
                                <c:forEach var="list" items="${yearList }">
                                <option value="${list }" <c:if test="${result.gactEraFnhY == list }">selected</c:if> >${list }년</option>
                                </c:forEach>
                            </select>
                        <select id="gactEraFnhM" name="gactEraFnhM">
                            <c:forEach var="list" items="${monList }">
                            <option value="${list }" <c:if test="${result.gactEraFnhM == list }">selected</c:if> >${list }월</option>
                            </c:forEach>
                        </select>
                        <select id="gactEraFnhD" name="gactEraFnhD">
                            <c:forEach var="list" items="${dayList }">
                            <option value="${list }" <c:if test="${result.gactEraFnhD == list }">selected</c:if> >${list }일</option>
                            </c:forEach>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">활동장소</td>
                    <td><input type="text" title="활동장소" class="big" id="gactPl" name="gactPl" value="${result.gactPl }" maxlength="12" nullable="true" /></td>
               </tr>
               <tr>
                    <td class="subThead" colspan="2">협조기간 유무</td>
                    <td>
                        <span class="radioArea">
                            <label for="yes"><input type="radio" id="ccdInstYn1" name="ccdInstYn" value="Y" <c:if test="${result.ccdInstYn == null || result.ccdInstYn == 'Y'}">checked</c:if> />Y</label>
                            <label for="no"><input type="radio" id="ccdInstYn2" name="ccdInstYn" value="N" <c:if test="${result.ccdInstYn == 'N'}">checked</c:if> />N</label>
                        </span>
                        <span class="desc blk">*활동을 도와주고 함께해줄 기관이 있다면 Y, 없다면 N에 체크해주세요.<br />(Y에 체크하신 분은 기관명화 연락처를 기재해주세요.)</span>
                    </td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">기관 명</td>
                    <td><input type="text" title="기관 명" id="instNm" name="instNm" value="${result.instNm }" maxlength="12" nullable="true"/><span class="desc">* 활동과 관련된 기관이 있는 경우는 반드시 기재하세요.</span></td>
                </tr>   
                <tr>
                    <td class="subThead" colspan="2">기관 연락처</td>
                    <td>
                        <select id="instCcpc1" name="instCcpc1">
                                <option value="02" <c:if test="${arrInstCcpc[0] == '02' }">selected</c:if> >02</option>
                                <option value="070" <c:if test="${arrInstCcpc[0] == '070' }">selected</c:if> >070</option>
                                <option value="031" <c:if test="${arrInstCcpc[0] == '031' }">selected</c:if> >031</option>
                                <option value="032" <c:if test="${arrInstCcpc[0] == '032' }">selected</c:if> >032</option>
                                <option value="033" <c:if test="${arrInstCcpc[0] == '033' }">selected</c:if> >033</option>
                                <option value="041" <c:if test="${arrInstCcpc[0] == '041' }">selected</c:if> >041</option>
                                <option value="042" <c:if test="${arrInstCcpc[0] == '042' }">selected</c:if> >042</option>
                                <option value="043" <c:if test="${arrInstCcpc[0] == '043' }">selected</c:if> >043</option>
                                <option value="051" <c:if test="${arrInstCcpc[0] == '051' }">selected</c:if> >051</option>
                                <option value="052" <c:if test="${arrInstCcpc[0] == '052' }">selected</c:if> >052</option>
                                <option value="053" <c:if test="${arrInstCcpc[0] == '053' }">selected</c:if> >053</option>
                                <option value="061" <c:if test="${arrInstCcpc[0] == '061' }">selected</c:if> >061</option>
                                <option value="062" <c:if test="${arrInstCcpc[0] == '062' }">selected</c:if> >062</option>
                                <option value="063" <c:if test="${arrInstCcpc[0] == '063' }">selected</c:if> >063</option>
                            </select> - <input type="text" class="phone" title="앞자리" id="instCcpc2" name="instCcpc2" value="${arrInstCcpc[1] }" maxlength="4" nullable="true" chartype="onlynum" /> - 
                            <input type="text" class="phone" title="뒤 4자리" id="instCcpc3" name="instCcpc3" value="${arrInstCcpc[2] }" maxlength="4" nullable="true" chartype="onlynum" />
                            <input type="hidden" id="instCcpc" name="instCcpc" value="${result.instCcpc }" />
                    </td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">활동주기</td>
                    <td>
                        <span class="radioArea periodArea">
                            <label for="period1"><input type="radio" value="1" id="gactCyclCd1" name="gactCyclCd" value="1" <c:if test="${result.gactCyclCd == null || result.gactCyclCd == '1'}">checked</c:if> />일회봉사</label>
                            <label for="period2"><input type="radio" value="2" id="gactCyclCd2" name="gactCyclCd" value="2" <c:if test="${result.gactCyclCd == '2'}">checked</c:if> />비정기적</label>
                            <label for="period3"><input type="radio" value="3" id="gactCyclCd3" name="gactCyclCd" value="3" <c:if test="${result.gactCyclCd == '3'}">checked</c:if> />정기적</label>
                        </span>
                        <span class="desc blk">* 일회봉사 : 한 번 활동<br />* 비정기적 : 일 회 이상 활동하지만 정기적 활동은 아닌 경우<br />*  정기적 : 매주, 월 단위로 정기 활동을 하는 경우</span>
                    </td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">신청동기</td>
                    <td><input type="text" title="신청동기 " id="pttMotv" name="pttMotv" value="${result.pttMotv }" maxlength="200" nullable="true" style="width:  600px"/><span class="desc blk">* 왜 이런 활동을 계획하게 되었는지 적어주세요. 재밌거나 감동적인 이야기가 있다면 함꼐 적어주시면 좋습니다.</span></td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">활동분야</td>
                    <td>
                        <span class="radioArea checkFild">
                            <span class="desc blk">* 아래 4가지 중 선택 하세요.</span>
                            <label for="field1"><input type="radio" value="1" id="pttSpheCd1" name="pttSpheCd" value="1" <c:if test="${result.pttSpheCd == null || result.pttSpheCd == '1'}">checked</c:if> /><strong>사회복지 프로그램 지원 </strong>: 도시락 배달, 여가 프로그램 지원, 나들이 지원, 말벗봉사, 기관청소, 환경미화, 외출지원, 목욕봉사 등  </label>
                            <label for="field2"><input type="radio" value="2" id="pttSpheCd2" name="pttSpheCd" value="2" <c:if test="${result.pttSpheCd == '2'}">checked</c:if> /><strong>재능나눔 </strong>: 소규모 공연봉사, 이미용봉사, 벽화그리기 활동, 통역봉사, 홈페이지 제작 지원, 이미용 봉사 등</label>
                            <label for="field3"><input type="radio" value="3" id="pttSpheCd3" name="pttSpheCd" value="3" <c:if test="${result.pttSpheCd == '3'}">checked</c:if> /><strong>테마봉사활동 </strong>: 특별절기(추석, 크리스마스, 장애인의 날 등) 나 사회적 이슈(경제, 문화, 환경 등)을 주제로 한 활동</label>
                            <label for="field4"><input type="radio" value="4" id="pttSpheCd4" name="pttSpheCd" value="4" <c:if test="${result.pttSpheCd == '4'}">checked</c:if> /><strong>기타 </strong>: 위 분야 이외에 자율적으로 기획한 활동</label>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td class="subThead depth" rowspan="3">활동<br />내용</td>
                    <td class="subThead">활동<br />개요</td>
                    <td><textarea rows="7" cols="120" id="pttSmry" name="pttSmry">${result.pttSmry }</textarea><span class="desc blk">* 활동개요 - 계획하신 활동에 대한 설명을 간락히 적어주세요.(200자 이내로 작성해주세요)</span></td>
                </tr>
                <tr>
                    <td class="subThead">임직<br />원의<br />역할</td>
                    <td><textarea rows="7" cols="120" id="pttPart" name="pttPart">${result.pttPart }</textarea><span class="desc blk">* 활동에서 임직원의 역할을 적어주세요.(200자 이내로 작성해주세요)</span></td>
                </tr>
                <tr>
                    <td class="subThead">세부<br />내용</td>
                    <td>
                        <table border="1" summary="세부내용의 세부활동내용,대상인원, 임직원인원, 기타를 입력또는 수정하는 표">
                            <colgroup>
                                <col width="33%" />
                                <col width="34%" />
                                <col width="33%" />
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>세부활동내용</th>
                                    <th>대상인원</th>
                                    <th>임직원인원</th>
                                </tr>
                            </thead>
                            <tbody>
                                <c:choose>
                                        <c:when test="${hvt01List != null && !empty hvt01List }">
                                            <c:forEach var="hvt01List" items="${hvt01List }" varStatus="status">
                                    <tr>
                                        <td><input type="text" value="${hvt01List.fpGactHis }" id="fpGactHis" name="fpGactHis" maxlength="30" nullable="true" title="세부활동내용" /></td>
                                        <td><input type="text" value="${hvt01List.subjCpsn }" id="subjCpsn" name="subjCpsn" maxlength="5" chartype="int" nullable="true" title="대상인원" /></td>
                                        <td><input type="text" value="${hvt01List.eeCpsn }" id="eeCpsn" name="eeCpsn" maxlength="5" chartype="int" nullable="true"  title="임직원 인원" /></td>
                                    </tr>    
                                            </c:forEach>
                                        </c:when>    
                                        <c:otherwise>
                                    <tr>
                                        <td><input type="text" value="" id="fpGactHis" name="fpGactHis" maxlength="30" nullable="true" title="세부활동내용" /></td>
                                        <td><input type="text" value="" id="subjCpsn" name="subjCpsn" maxlength="5" chartype="int" nullable="true" title="대상인원" /></td>
                                        <td><input type="text" value="" id="eeCpsn" name="eeCpsn" maxlength="5" chartype="int" title="임직원 인원" /></td>
                                    </tr>
                                    <tr>
                                        <td><input type="text" value="" id="fpGactHis" name="fpGactHis" maxbyte="30" nullable="true" title="세부활동내용" /></td>
                                        <td><input type="text" value="" id="subjCpsn" name="subjCpsn" maxlength="5" chartype="int"  nullable="true" title="대상인원" /></td>
                                        <td><input type="text" value="" id="eeCpsn" name="eeCpsn" maxlength="5" chartype="int"  nullable="true"  title="임직원 인원" /></td>
                                    </tr>
                                    <tr>
                                        <td><input type="text" value="" id="fpGactHis" name="fpGactHis" maxlength="30" nullable="true" title="세부활동내용" /></td>
                                        <td><input type="text" value="" id="subjCpsn" name="subjCpsn" maxlength="5" chartype="int"  nullable="true" title="대상인원" /></td>
                                        <td><input type="text" value="" id="eeCpsn" name="eeCpsn" maxlength="5" chartype="int"  nullable="true"  title="임직원 인원" /></td>
                                    </tr>
                                    <tr>
                                        <td><input type="text" value="" id="fpGactHis" name="fpGactHis" maxlength="100" nullable="true" title="세부활동내용" /></td>
                                        <td><input type="text" value="" id="subjCpsn" name="subjCpsn" maxlength="5" chartype="int" nullable="true" title="대상인원" /></td>
                                        <td><input type="text" value="" id="eeCpsn" name="eeCpsn" maxlength="5" chartype="int" nullable="true"  title="임직원 인원" /></td>
                                    </tr> 
                                        </c:otherwise>
                                    </c:choose>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">예산</td>
                    <td>
                        <div class="appendTable">
                            <div class="btnRows"><button type="button" class="appendRow"><img src="/img/usr/btn/btn_row_apd.gif" alt="추가" /></button><button type="button" class="deleteRow"><img src="/img/usr/btn/btn_row_del.gif" alt="삭제" /></button></div>
                            <table border="1" summary="예산의 항목, 세부내용, 금액.비고를 입력또는 수정하는 표">
                                <colgroup>
                                    <col width="100%" />
                                </colgroup>
                                <tfoot>
                                    <tr>
                                        <td><p><span>합계</span><input type="text" id="totAmt" name="totAmt" value="${fn:trim(totAmt) }" dir="rtl" style="text-align:right" readOnly /></p></td>
                                    </tr>
                                </tfoot>
                                <tbody>
                                    <c:choose>
                                            <c:when test="${hvt02List != null && !empty hvt02List }">
                                                <c:forEach var="hvt02List" items="${hvt02List }" varStatus="status">
                                        <tr id="lineAppend">
                                            <td>
                                                <p><span>세부내용</span><input type="text" id="fpSbc" name="fpSbc" value="${hvt02List.fpSbc }" maxlength="30" nullable="true" /></p>
                                                <p><span>금액</span><input type="text" id="amt" name="amt" value="${fn:trim(hvt02List.amt) }" maxlength="9" dir="rtl" chartype="money" nullable="true" /></p>
                                            </td>
                                        </tr>    
                                                </c:forEach>
                                            </c:when>    
                                            <c:otherwise>
                                        <tr id="lineAppend">
                                            <td>
                                                <p><span>세부내용</span><input type="text" id="fpSbc" name="fpSbc" value="" maxlength="30" nullable="true" /></p>
                                                <p><span>금액</span><input type="text" id="amt" name="amt" value="" dir="rtl" maxlength="9" chartype="money" nullable="true" /></p>
                                            </td>
                                        </tr>
                                            </c:otherwise>
                                        </c:choose>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">기부영수증<br />발행형태</td>
                    <td>
                        <span class="radioArea">
                            <label for="receipt1"><input type="radio" id="gftmRvchIShap1" name="gftmRvchIShap" value="1" <c:if test="${result.gftmRvchIShap == null || result.gftmRvchIShap == '1'}">checked</c:if> />개인발행</label>
                            <label for="receipt2"><input type="radio" id="gftmRvchIShap2" name="gftmRvchIShap" value="2" <c:if test="${result.gftmRvchIShap == '2'}">checked</c:if> />협조기관 발행</label>
                        </span>
                        <span class="desc blk">* 개인 : 협조기관 없이 팀 자체적으로 활동하고, 예산 지원 받는 경우<br />* 협조기관 발행 : 협조기관이 있어 예산을 기관에서 지원받는 경우<br />* 예금주가 기관명이 아닐 경우, 법인 사업자등록증 첨부 필</span>
                    </td>
                </tr>
                <tr>
                    <td class="subThead" colspan="2">봉사 조끼 신청</td>
                    <td >
                        <span class="checkArea checkFild">
                            <label for="size1"><input type="checkbox" id="arrSz" name="arrSz" value="90" ${arrUnifSz[0] } /><strong>90 size</label><input type="text" class="size" value="${arrUnifQty[0]}" title="90 조끼 수량" id="arrQty" name="arrQty" chartype="int" maxlength="3" />개 &nbsp;
                            <label for="size2"><input type="checkbox" id="arrSz" name="arrSz" value="95" ${arrUnifSz[1] } /><strong>95 size</label><input type="text" class="size" value="${arrUnifQty[1]}" title="95 조끼 수량" id="arrQty" name="arrQty" chartype="int" maxlength="3" />개 &nbsp;
                            <label for="size3"><input type="checkbox" id="arrSz" name="arrSz" value="100" ${arrUnifSz[2] } /><strong>100 size</label><input type="text" class="size" value="${arrUnifQty[2]}" title="100 조끼 수량" id="arrQty" name="arrQty" chartype="int" maxlength="3" />개 &nbsp;<br />
                            <label for="size4"><input type="checkbox" id="arrSz" name="arrSz" value="105" ${arrUnifSz[3] } /><strong>105 size</label><input type="text" class="size" value="${arrUnifQty[3]}" title="105 조끼 수량" id="arrQty" name="arrQty" chartype="int" maxlength="3" />개 &nbsp;
                            <label for="size5"><input type="checkbox" id="arrSz" name="arrSz" value="110" ${arrUnifSz[4] } /><strong>110 size</label><input type="text" class="size" value="${arrUnifQty[4]}" title="110 조끼 수량" id="arrQty" name="arrQty" chartype="int" maxlength="3" />개 &nbsp;
                            <label for="size6"><input type="checkbox" id="arrSz" name="arrSz" value="115" ${arrUnifSz[5] } /><strong>115 size</label><input type="text" class="size" value="${arrUnifQty[5]}" title="115 조끼 수량" id="arrQty" name="arrQty" chartype="int" maxlength="3" />개 &nbsp;
                        </span>
                        <input type="hidden" id="pcrpUnifSz" name="pcrpUnifSz" >
                        <input type="hidden" id="pcrpUnifQty" name="pcrpUnifQty" >
                    </td>
                </tr>
                
            </tbody>
        </table>
        </form>
        <div class="signArea">
            <p>본인은 현대자동차의 임직원으로서 자원봉사 활동을 하고자 신청하며 활동 대상자를 존중하고 이해하고자 노력합니다.<br />성실하고 책임감 있는 자세로 활동에 임하고, 활동 결과를 성실히 결과보고 할 것을 약속합니다.</p>
            <p class="date">2012년<input type="text" value="" maxlength="2" />월<input type="text" value="" maxlength="2" />일</p>
            <p class="applicant">신청자<input type="text" value="${result.aplcNm }" /></p>
        </div>
        <div class="btnPopArea">
            <input type="image" id="rgstButn" name="rgstButn" onClick="return false;" src="/img/usr/btn/btn_pop_reg.gif" title="등록" alt="등록" /><button type="button" onclick="javscript:document.mainForm.reset();"><img src="/img/usr/btn/btn_pop_cancel.gif" alt="취소" /></button>
        </div>
        <%
// 등록 process 를 위한 iFrame Start
%>
<iframe name="comIframe" id="comIframe" src="about:blank" height="0" width="0"></iframe>
<%
// 등록 process 를 위한 iFrame END
%>
    </div>
</div>
</body>
</html>
<script>
<c:if test="${result.pttShap == '2'}">
$(".team").removeClass("lock");
$('.team input[type="text"]').removeAttr("readonly");
</c:if>
</script>